package com.qs.util;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PaginationResult<T> {
    /**
     * 总数
     */
    private Long total;
    /**
     * 数据
     */
    private List<T> records;
}
